package com.xh.bussiness.course.service;



import com.xh.bussiness.course.bean.request.PrepareUserConfigRequest;
import com.xh.bussiness.course.model.PrepareUserConfig;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Jqm
 * @since 2021-04-02
 */
public interface IPrepareUserConfigService extends IBaseService<PrepareUserConfig> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryPrepareUserConfigPage(XhPage page, PrepareUserConfigRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryPrepareUserConfig(PrepareUserConfigRequest bean);

    PrepareUserConfig modifyUserPrepareConfig(PrepareUserConfig prepareUserConfig);

    List<PrepareUserConfig> batchSetPreparePermission(List<PrepareUserConfig> prepareUserConfigs);

    String getUserPrepareConfig(String currentUserId, String courseId);

    List<String> getUserNoPermissionCourseIds(String userId);
}
